package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.entity.NursingPlan;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingPlanVo;

import java.util.List;

/**
 * <p>
 * 护理计划表 服务类
 * </p>
 *
 * @author author
 * @since 2024-08-15
 */
public interface NursingPlanService extends IService<NursingPlan> {
    //分页查询
    PageResponse<NursingPlan> findByIdPage(String name, Integer status, Integer pageNum, Integer pageSize);
    //新增
    void saveNursingPlan(NursingPlanDto nursingPlanDto);
    //主键查询
    NursingPlanVo findById(Long id);
    //修改
    void updateNursingPlan(NursingPlanDto nursingPlanDto);
    //删除
    void delete(Long id);
    //启用禁用
    void switchStatus(Long id, Integer status);


}
